export default {
  data() {
    return {
      maxHeight: 0
    }
  },
  created() {
    this.getWindowSize()
  },
  mounted() {
    window.onresize = () => {
      this.getWindowSize()
    }
  },
  methods: {
    getWindowSize() {
      // const width = document.documentElement.clientWidth
      const height = document.documentElement.clientHeight - 120 - 45 - 25
      this.maxHeight = height + 'px'
    }
  }
}
